projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a6b8b
)
Remove free from get_options. Thanx, Alex!
author
robertl
<robertl>
Tue, 5 Nov 2002 18:05:25 +0000
(18:05 +0000)
committer
robertl
<robertl>
Tue, 5 Nov 2002 18:05:25 +0000
(18:05 +0000)
vecs.c
patch
|
blob
|
history
diff --git
a/vecs.c
b/vecs.c
index 9f7bfd6f90051617a3f7465f5c73e906717d8c86..a06a8276912db5eb102a106185fb1d256807a445 100644
(file)
--- a/
vecs.c
+++ b/
vecs.c
@@
-222,7
+222,11
@@
get_option(const char *iarglist, const char *argname)
break;
}
}
- free(arglist);
+ /*
+ * Return an offset into the allocated copy.
+ * The caller mustn't free or otherwise get froggy with
+ * this data.
+ */
return rval;
}